package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 优惠券模板
 * </p>
 *
 * @author chenxuebin
 * @since 2018-07-07
 */
@TableName("t_coupontpl_share")
public class CouponTplShare extends Model<CouponTplShare> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long tplid;

    private Long quanid;

    private Long zfuid;

    private Long getuid;

    private Long sid;

    private Long leagueid;

    private Integer utype;
    private Integer xinke;
    private Integer iszhuanfa;

    private Integer fenxiao;
    private Integer ishuiyuan;
    private Integer isused;
    private String createday;

    private Date createtime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTplid() {
        return tplid;
    }

    public void setTplid(Long tplid) {
        this.tplid = tplid;
    }

    public Long getQuanid() {
        return quanid;
    }

    public void setQuanid(Long quanid) {
        this.quanid = quanid;
    }

    public Long getZfuid() {
        return zfuid;
    }

    public void setZfuid(Long zfuid) {
        this.zfuid = zfuid;
    }

    public Long getGetuid() {
        return getuid;
    }

    public void setGetuid(Long getuid) {
        this.getuid = getuid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getXinke() {
        return xinke;
    }

    public void setXinke(Integer xinke) {
        this.xinke = xinke;
    }

    public Long getSid() {
        return sid;
    }

    public void setSid(Long sid) {
        this.sid = sid;
    }

    public Long getLeagueid() {
        return leagueid;
    }

    public void setLeagueid(Long leagueid) {
        this.leagueid = leagueid;
    }

    public Integer getFenxiao() {
        return fenxiao;
    }

    public void setFenxiao(Integer fenxiao) {
        this.fenxiao = fenxiao;
    }

    public Integer getIshuiyuan() {
        return ishuiyuan;
    }

    public void setIshuiyuan(Integer ishuiyuan) {
        this.ishuiyuan = ishuiyuan;
    }

    public Integer getIsused() {
        return isused;
    }

    public void setIsused(Integer isused) {
        this.isused = isused;
    }

    public String getCreateday() {
        return createday;
    }

    public void setCreateday(String createday) {
        this.createday = createday;
    }

    public Integer getUtype() {
        return utype;
    }

    public void setUtype(Integer utype) {
        this.utype = utype;
    }

    public Integer getIszhuanfa() {
        return iszhuanfa;
    }

    public void setIszhuanfa(Integer iszhuanfa) {
        this.iszhuanfa = iszhuanfa;
    }

    @Override
    public String toString() {
        return "CouponTplShare{" +
                "id=" + id +
                ", tplid=" + tplid +
                ", quanid=" + quanid +
                ", zfuid=" + zfuid +
                ", getuid=" + getuid +
                ", createtime=" + createtime +
                '}';
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
